﻿using System.Windows.Controls;

namespace Company.Shell.Dialogs
{
    /// <summary>
    /// 弹出对话框接口
    /// </summary>
    public interface IDialogService
    {
        Task<DialogResult<TResult>> ShowDialogAsync<TView, TViewModel, TResult>(TView? view = null, TViewModel? viewModel = null)
            where TView : UserControl, new()
            where TViewModel : class;
    }
}
